package com.tuocent.dagv2.service;

import com.tuocent.dagv2.common.AjaxResult;
import com.tuocent.dagv2.entity.ArchivesCodeList;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpSession;
import org.springframework.ui.Model;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Vincent
 * @since 2025-07-29
 */
public interface IArchivesCodeListService extends IService<ArchivesCodeList> {

    AjaxResult getArchivesFormatCodeList(String pid, String action);

    String setArchivesCodeFormat(Model model, String id, String pid, String classifyId, String children, String codeModel, String parentId);

    AjaxResult saveArchivesCodeList(HttpSession session, ArchivesCodeList data);

    AjaxResult delArchivesCodeFormat(String id);

    AjaxResult delArchivesCodeFormatList(HttpSession session, String id, String classifyId, String pid);
}
